package com.zy.mall.service;

import com.zy.mall.model.Type;
import com.zy.mall.model.bo.GoodsBo;
import com.zy.mall.model.vo.TypeGoodsVo;

import java.util.List;

public interface GoodService {
    List<Type> getType();

    List<TypeGoodsVo> getGoodsByType(String typeId);

    void addGoods(GoodsBo goodsBo);

    int addType(Type type);
}
